import request from "@/tools/request";

export const sendMessage=(email)=>{
    console.log(email)
    return request.get("/email/sendEmail",{
        params:{
            "Email":email
        }
    })
}

export const checkEmail=(uuid,userInputCode)=>{
    return request.get("/email/checkEmail",{
        params:{
            "uuid":uuid,
            "userInputCode":userInputCode
        }
    })
}

export const findAll=()=>{
    return request.get("/warehouse/findAll")
}

